/* You can add global styles to this file, and also import other style files */

a {
    color: inherit;
}

a:hover {
    color: inherit;
}

a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
}

a[ng-click] {
    cursor: pointer;
}

ul,li {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    vertical-align: middle;
}
.layout-editor img{
    max-width: 100%;
    height: auto !important;
}
.label {
    display: inline;
    padding: 0.2em 0.6em 0.3em;
    font-size: 75%;
    color: #fff;
    border-radius: 0.25em;
}
.label.label-inline {
    width: auto;
    padding: 0.15rem 0.75rem;
    border-radius: 0.42rem;
}
.label.label-success {
    color: #fff;
    background-color: rgb(23, 162, 184) ;
}
.label.label-default{
    color: #e4e6ef;
    background-color: #828488
}

.label.label-dark{
    color: #e4e6ef;
    background-color: #5d5e61
}

a {
    color: inherit;
}
/* Sweet alert */

body.swal2-height-auto {
    height: inherit !important;
}

.swal2-popup.swal2-toast {
    padding: 10px 12px !important;
    display: block !important;
}

.swal2-popup.swal2-toast .swal2-header,
.swal2-popup.swal2-toast .swal2-title,
.swal2-popup.swal2-toast .swal2-content {
    text-align: left !important;
    margin: 0 !important;
}

.swal2-popup.swal2-toast .swal2-title {
    margin-bottom: 4px !important;
}

.swal2-icon.swal2-info::before,
.swal2-icon.swal2-warning::before,
.swal2-icon.swal2-success::before,
.swal2-icon.swal2-error::before {
    content: "";
}

@keyframes glowing {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.3;
    }
}

.glowing {
    animation: glowing 2s infinite;
}

.root-initial-loader .overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(51, 51, 51, 0.8);
    z-index: 99999 !important;
    width: 100%;
    height: 100%;
}

.root-initial-loader i {
    position: absolute;
    color: rgb(91, 167, 234);
    z-index: 100000 !important;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.root-initial-loader .fa-spin-2x {
    -webkit-animation: fa-spin 1s infinite linear;
    animation: fa-spin 1s infinite linear;
}
ngx-spinner .loading-text {
    font-weight: bold;
    color: white;
    font-size: 1.3em;
}


body {
    width: 100vw;
    overflow: hidden;
    overflow-y: auto;
}

 body:not(.layout-fixed) .main-sidebar {
     height: inherit;
     min-height: 100%;
     position: fixed;
     top: 0;
     left: 0;
     z-index: 1030;
 }

/* ::-webkit-scrollbar {
    width: 0px;
    background: transparent;
} */
::-webkit-scrollbar {
  width: 5px !important;
  height: auto !important;
  background: transparent;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: rgba(34, 37, 56, 0.1);
}

/*sweet-alert*/
.swal2-container {
    z-index: 99060;
}
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}
.swal2-modal.ckEditTipBox .swal2-icon.swal2-warning{
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
    font-size: 50px !important;
  }
  .swal2-modal.ckEditTipBox .swal2-title{
    font-size: 24px;
  }
  .swal2-modal.ckEditTipBox .swal2-confirm,.swal2-modal.ckEditTipBox .swal2-cancel{
    font-size: 16px;
  }
.gutter-b {
    margin-bottom: 25px;
}
.content-wrapper > .content {
    padding: 0.5rem 0.5rem;
}
.content-wrapper > .content .tableContainer {
    margin: 0;
    width: 100%;
    display: block;
}

/*** 按钮 ***/
.btn-warning{
    color: #fff;
}
.btn-warning:hover{
    color: #fff;
}
.clickable-item{
    cursor: pointer;
}
.p-inputswitch{
    vertical-align: middle;
    margin: -5px 5px 0 0;
}

/* 内容区 */
/* .card-header{
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
} */
.colwidths .col-sm-2{
    flex: 0 0 9.666667%;
    max-width: 16.666667%;
    white-space: nowrap;
    margin-left: 55px;
    width: auto;
    
}
.colwidths .ng-star-inserted .col-sm-2:nth-child(1){
    margin-left: 0;
}
.colwidths2 .col-sm-2{
    flex: 0 0 9.666667%;
    max-width: 16.666667%;
    white-space: nowrap;
    width: auto;
    
}
.colwidths2 .col-sm-6+.col-sm-6 .col-sm-2{
   margin-left: 45px;
}
.colwidths2 .col-sm-6+.col-sm-6 .ng-star-inserted .col-sm-2:nth-child(1){
    margin-left: 0;
}
.colwidths2 .text-center .form-group{
    justify-content: center;
    -webkit-justify-content: center;
}